#ifndef _Consumer_H_
#define _Consumer_H_

#include "Thread.hpp"
namespace wd{

class TaskQueue;
class Consumer:public Thread{

public:
    Consumer(TaskQueue & taskque);
protected:

    void run() override;

private:
    TaskQueue & _taskque;
};


}


#endif
